﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dtoMachineStatesDescriptor" targetNamespace="http://tempuri.org/dtoMachineStatesDescriptor.xsd" xmlns:mstns="http://tempuri.org/dtoMachineStatesDescriptor.xsd" xmlns="http://tempuri.org/dtoMachineStatesDescriptor.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dtoMachineStatesDescriptor" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dtoMachineStatesDescriptor" msprop:Generator_UserDSName="dtoMachineStatesDescriptor">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="State" msprop:Generator_TableClassName="StateDataTable" msprop:Generator_TableVarName="tableState" msprop:Generator_TablePropName="State" msprop:Generator_RowDeletingName="StateRowDeleting" msprop:Generator_UserTableName="State" msprop:Generator_RowChangingName="StateRowChanging" msprop:Generator_RowEvHandlerName="StateRowChangeEventHandler" msprop:Generator_RowDeletedName="StateRowDeleted" msprop:Generator_RowEvArgName="StateRowChangeEvent" msprop:Generator_RowChangedName="StateRowChanged" msprop:Generator_RowClassName="StateRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:string" />
              <xs:element name="Version" msprop:Generator_ColumnVarNameInTable="columnVersion" msprop:Generator_ColumnPropNameInRow="Version" msprop:Generator_ColumnPropNameInTable="VersionColumn" msprop:Generator_UserColumnName="Version" type="xs:string" />
              <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" type="xs:string" minOccurs="0" />
              <xs:element name="Action" msprop:Generator_TableClassName="ActionDataTable" msprop:Generator_TableVarName="tableAction" msprop:Generator_TablePropName="Action" msprop:Generator_RowDeletingName="ActionRowDeleting" msprop:Generator_UserTableName="Action" msprop:Generator_RowChangingName="ActionRowChanging" msprop:Generator_RowEvHandlerName="ActionRowChangeEventHandler" msprop:Generator_RowDeletedName="ActionRowDeleted" msprop:Generator_RowEvArgName="ActionRowChangeEvent" msprop:Generator_RowChangedName="ActionRowChanged" msprop:Generator_RowClassName="ActionRow" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:appinfo>
                    <msdata:Relationship name="State_Action" msdata:parent="State" msdata:child="Action" msdata:parentkey="Id" msdata:childkey="StateId" msprop:Generator_UserChildTable="Action" msprop:Generator_ChildPropName="GetActionRows" msprop:Generator_ParentPropName="StateRow" msprop:Generator_UserRelationName="State_Action" msprop:Generator_RelationVarName="relationState_Action" msprop:Generator_UserParentTable="State" />
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="AssemblyName" msprop:Generator_ColumnVarNameInTable="columnAssemblyName" msprop:Generator_ColumnPropNameInRow="AssemblyName" msprop:Generator_ColumnPropNameInTable="AssemblyNameColumn" msprop:Generator_UserColumnName="AssemblyName" type="xs:string" minOccurs="0" />
                    <xs:element name="StateId" msprop:Generator_ColumnVarNameInTable="columnStateId" msprop:Generator_ColumnPropNameInRow="StateId" msprop:Generator_ColumnPropNameInTable="StateIdColumn" msprop:Generator_UserColumnName="StateId" type="xs:string" minOccurs="0" />
                    <xs:element name="TypeName" msprop:Generator_ColumnVarNameInTable="columnTypeName" msprop:Generator_ColumnPropNameInRow="TypeName" msprop:Generator_ColumnPropNameInTable="TypeNameColumn" msprop:Generator_UserColumnName="TypeName" type="xs:string" minOccurs="0" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:State" />
      <xs:field xpath="mstns:Version" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
</xs:schema>